<!DOCTYPE html>
<html>
<head>
		<meta charset="utf-8">
		<title>tiange</title>
		<style>
			.link-group a{
				display:block;
				padding:10px 20px;
				background-color:pink;
				color:black;
				text-decoration:none;
				margin:2px 0;
			}
			.link-group a:hover{
				background-color:black;
				color:white;
			}
</style>
	</head>
	<body>
	<div class="link-group">
	<a href="#">链接1</a>
	<a href="#">链接2</a>
	<a href="#">链接3</a>
	<a href="#">链接4</a>
	</div>
	</body>
</html>